home *** CD-ROM | disk | FTP | other *** search
- property pSpr
-
- on beginSprite me
- pSpr = sprite(me.spriteNum)
- if inSlotMode() then
- setCursor(pSpr, pointingHand())
- end if
- end
-
- on mouseWithin
- if inMixingMode() then
- Active = barSlotToSprite(findActiveRecipeSlot())
- thisChar = sprite(Active)
- if thisChar.member.type <> #flash then
- exit
- end if
- status = thisChar.pStatus
- if not thisChar.pAlreadyCarded then
- setCursor(pSpr, noGood())
- else
- if (status = #retreating) or (status = #bouncing) then
- setCursor(pSpr, noGood())
- else
- setCursor(pSpr, pointingHand())
- end if
- end if
- else
- if not inSlotMode() then
- setCursor(pSpr, noGood())
- end if
- end if
- end
-
- on mouseLeave
- setCursor(pSpr, pointingHand())
- end
-
- on endSprite
- setCursor(pSpr, defaultCursor())
- end
-